<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>项目列表</title>
<%@ include file="/pages/common/base/Head3.jsp"%>
<script type="text/javascript"
	src="/${res.contextPath}/js/project/project-detail.js?version=${res.version}"></script>
	<script type="text/javascript"
	src="/${res.contextPath}/js/project/interface-param.js?version=${res.version}"></script>
	
<style>
tr td:nth-child(4) .layui-table-cell {
	overflow: visible;
	height:auto;
}
tr td:nth-child(7) .layui-table-cell {
	overflow: visible;
	height:auto;
}
.layui-table-box {
	overflow: visible;
}

.layui-table-body {
	overflow: visible;
	overflow-x: scroll;
} 
td .layui-form-select {
	margin-top: -10px;
	margin-left: -15px;
	margin-right: -15px;
}
</style>
<script>
	$(function(){
		ProjectDetail.initPage("${res.contextPath}",${projectId});	
	});
  </script>
</head>
<body>
	<table id="interface_table" lay-filter="interface-filter">
	</table>

	<table id="params_table" lay-filter="params-filter">
	</table>
	<input type="hidden" value="${projectId}" />
</body>
<script type="text/html" id="interface_bar">
<div class="layui-form-item">
    <div class="layui-inline">
      <div class="layui-input-inline">
        <input type="text" id="keyword" lay-event="keyword"  autocomplete="off" class="layui-input" placeholder="接口代码/名称">
      </div>
    </div>
<div>
</script>
<script type="text/html" id="params_bar">
<div class="layui-form-item">
    <div class="layui-inline">
      <div class="layui-input-inline">
        <input type="text" id="keyword2" lay-event="keyword2"  autocomplete="off" class="layui-input" placeholder="参数代码/名称">
      </div>
    </div>
<div>
</script>
<script type="text/html" id="isNotNull_templet">
  <input type="checkbox" name="isNotNull" value="{{d.isNotNull}}" lay-skin="switch" lay-text="是|否"  {{ d.isNotNull == '1' ? 'checked' : '' }}>
</script>
<script type="text/html" id="paramDirection_templet">
  <input type="checkbox" name="paramDirection" value="{{d.paramDirection}}" lay-skin="switch" lay-text="入参|出参"  {{ d.paramDirection == '0' ? 'checked' : '' }}>
</script>
<script type="text/html" id="paramDataType_templet">
<select name="paramDataType"  lazyInit="true" >
	<z:options typeId="paramDataType" defaultValue="{{d.paramDataType}}"></z:options>
</select>
</script>
<script type="text/html" id="interfaceType_templet">
<select name="interfaceType"  lazyInit="true" >
	<z:options typeId="interfaceType"  defaultValue="{{d.interfaceType}}"></z:options>
</select>
</script>
</html>